package cn.iocoder.yudao.module.book.controller.admin.book.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 图书 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BookRespVO {

    @Schema(description = "图书ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23487")
    @ExcelProperty("图书ID")
    private Long id;

    @Schema(description = "国际标准书号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("国际标准书号")
    private String isbn;

    @Schema(description = "书名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("书名")
    private String title;

    @Schema(description = "出版社ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28766")
    @ExcelProperty("出版社ID")
    private Long publisherId;

    @Schema(description = "分类ID", example = "4444")
    @ExcelProperty("分类ID")
    private Long categoryId;

    @Schema(description = "图书描述", example = "你说的对")
    @ExcelProperty("图书描述")
    private String description;

    @Schema(description = "出版日期")
    @ExcelProperty("出版日期")
    private Date publishDate;

    @Schema(description = "语言")
    @ExcelProperty("语言")
    private String language;

    @Schema(description = "页数")
    @ExcelProperty("页数")
    private Integer pages;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}